package main.java.decorator;
/**
 * 炒面，具体构件角色
 */
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super(12,"炒面");
    }

    @Override
    float cost() {
        return getPrice();
    }
}
